package com.tjetc.controller;

import com.tjetc.entity.SpcifyResults;
import com.tjetc.entity.SpcifyShoes;
import com.tjetc.service.SpcifyShoesService;
import com.tjetc.util.R;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * 定制鞋表(SpcifyShoes)表控制层
 *
 * @author makejava
 * @since 2025-09-15 14:10:30
 */
@RestController
@RequestMapping("spcifyShoes")
public class SpcifyShoesController {
    /**
     * 服务对象
     */
    @Resource
    private SpcifyShoesService spcifyShoesService;


    @PostMapping("/update")
    public R updateById(@RequestBody SpcifyShoes spcifyShoes){
        this.spcifyShoesService.updateById(spcifyShoes);
        return R.ok();
    }
}

